﻿using System;
using System.Runtime.Serialization;
using MedicalAdviser.Portable.DataTypes.WsTypes;

namespace MedicalAdviser.Portable.DataTypes
{
    [DataContract]
    public class ServiceOut<T>
    {
        [DataMember]
        public T  Value { get; set; }
        [DataMember]
        public bool Error { get; set; }
        [DataMember]
        public ErrorDescription ErrorDetail{ get; set; }
        [DataMember]
        public String InnerMessage { get; set; }
        [DataMember]
        public AppMessage Message { get; set; }
    }
}
